

import java.util.Scanner;

public class CalculatorAccess 
{
	public static void main(String[] args)  
	{
		System.out.println("Enter the 2 integer values:");
		Scanner s = new Scanner(System.in);
		
		int value1 = s.nextInt();
		
		int value2 =s.nextInt();
		
		int result =0;
		
		CalculatorApp obj = new CalculatorApp();
		
		System.out.println("Enter the operation to be performed:(+, - ,* ,/)");
		
		switch(s.next())
		{
		case "+":
			result = obj.addMethod(value1,value2);break;
		case "-":
			result = obj.subMethod(value1,value2);break;
		case "*":
			result = obj.mulMethod(value1,value2);break;
		case "/":
			result = obj.divideMethod(value1,value2);break;
		}
		System.out.println("Result="+result);
		s.close();
	}

}
